package com.dragon.modules.yuegou.service.merchant;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.merchant.MerchantDeliveryEntity;
import com.dragon.modules.yuegou.model.merchant.MerchantDelivery;

import java.math.BigDecimal;

/**
 * 商户配送信息 服务接口
 *
 * @author pbuilder generated
 * @date 2020-03-24 11:46:18
 * @version 2.0
 */
public interface MerchantDeliveryService extends IService<MerchantDeliveryEntity> {

	/**
	 * 查询商户配送状态信息
	 * */
	MerchantDelivery configuration(String merchantId);

	/**
	 * 修改商户配送状态
	 * */
	void modifyType(String merchantId, Integer type);

	/**
	 * 查询商户运费余额
	 * */
	BigDecimal balance(String merchantId);

	/**
	 * 
	 * */
	MerchantDelivery createShop(String merchantId, String city, String area, Integer business, String email);

	/**
	 * 充值运费
	 * */
	String recharge(String merchantId, BigDecimal amount);

}